<!DOCTYPE html>
<!--
Copyright 2019 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<html>
<head>
<script src="util.js"></script>
<script src="update_with.js"></script>
<title>updateWith() Test</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=0.5, maximum-scale=0.5, minimum-scale=0.5">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<button class="small" onclick="updateWithEmpty('basic-card')" id="updateWithEmpty">updateWithEmpty</button>
<button class="small" onclick="updateWithTotal('basic-card')" id="updateWithTotal">updateWithTotal</button>
<button class="small" onclick="updateWithDisplayItems('basic-card')"
  id="updateWithDisplayItems">updateWithDisplayItems</button>
<button class="small" onclick="updateWithShippingOptions('basic-card')"
  id="updateWithShippingOptions">updateWithShippingOptions</button>
<button class="small" onclick="updateWithModifiers('basic-card')" id="updateWithModifiers">updateWithModifiers</button>
<button class="small" onclick="updateWithError('basic-card')" id="updateWithError">updateWithError</button>
<pre id="result"></pre>
</body>
</html>
